﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chaos.messages
{
    public class process_user_info_change : message
    {

        String m_user;
        public String User
        {
            get { return m_user; }
            set { m_user = value; }
        }

        public override void process(context in_context)
        {
            Properties.Settings.Default.UserName = User;
        }

        public override void serialize(stream.stream in_Stream)
        {
            in_Stream.begin("process_user_info_change")
                .serialize("user", ref m_user)
            .end();
        }
    }
}
